package seata.feign;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("seata-provider-8805")
public interface SeataTable2Client {
    //映射到需要调用服务的url   映射的地址必须一致
    @GetMapping("/c1")
    String c1();

    @GetMapping("/update")
    String update(@RequestParam String name);
}
